# Maintainer: Steffen Nurpmeso <steffen@sdaoden.eu>
pkgname=s-dkim-sign
pkgver=0.6.2
pkgrel=0
pkgdesc="postfix-only DKIM sign-only milter"
url="https://www.sdaoden.eu/code.html#s-dkim-sign"
arch="all"
license="ISC"
makedepends="openssl-dev"
subpackages="$pkgname-doc"
source="https://ftp.sdaoden.eu/s-dkim-sign-$pkgver.tar.gz"

build() {
	make
}

check() {
	./s-dkim-sign-test.sh
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
6de67ff67b50bf9127281c54b50b2c283eb673adc9451d498f56f70b02527e87aa37662f07dcab5030a91cdb7350f9ae1bb7a70a379827e71ba0d41b02231de8  s-dkim-sign-0.6.2.tar.gz
"
